package com.zmm.zebulon.module.system.biz.controller.admin.oauth2.vo.token;

import com.zmm.zebulon.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * description: 管理后台 - 访问令牌分页 Request VO
 *
 * @author zebulon
 * package com.zmm.zebulon.module.system.biz.controller.admin.oauth2.vo.token
 * name: OAuth2AccessTokenPageReqVO
 * date 2024/1/8 21:46
 */
@Schema(description = "管理后台 - 访问令牌分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class OAuth2AccessTokenPageReqVO extends PageParam {

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
    private Long userId;

    @Schema(description = "用户类型，参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Integer userType;

    @Schema(description = "客户端编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private String clientId;

}
